package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface KtSupplierProdDao{
	 List query(Map parameter);  
	 int create(Map parameter); 
     int update(Map parameter);   
     int save(Map parameter); 
     int delete(String id);
     Map findById(String id);
     int batch(List values);
     int batchUpdate(List values);
     int batchDelete(List values);

     List<Map<String,Object>> getSupplierProdList(String supplierId, String keyword, Long beginNum, Long endNum);
     Map<String,Object> getSupplierProdListSize(String supplierId, String keyword);

     Map<String,Object> getRecordBySupplierIdAndProductCode(String supplierId, String productCode);
}
